<?php
use think\facade\Route;

//发送短信验证码
Route::rule("smscode","sms/code","POST");
//Route::rule('sendcode','send/code','GET');
Route::resource("user","User");

Route::rule("subcategory/:id","category/sub");

Route::rule("lists","mall.lists/index");
Route::rule("detail/:id","mall.detail/index");

Route::resource("order","order.index");